package com.ruoyi.system.model.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * goods对象 goods_info
 *
 * @author ruoyi
 * @date 2023-04-06
 */
@Data
@ToString(includeFieldNames = false, onlyExplicitlyIncluded = true)
public class GoodsInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ToString.Include
    @Excel(name = "商品编号", sort = 1)
    private Long id;
    private List<Long> ids;

    /**
     * $column.columnComment
     */
    @ToString.Include
    private Long createId;
    private String createName;
    private List<String> createIds;
    private List<Long> gameIds;

    /**
     * $column.columnComment
     */
    @ToString.Include
    private Long updateId;
    /**
     * 游戏id
     */
    @ToString.Include
    private Long gameId;

    /**
     * 游戏名称
     */
    @ToString.Include
    @Excel(name = "游戏名称", sort = 2)
    private String gameName;
    private String salepartnerids;
    private String salepartnername;
    private String correspondjym;
    /**
     * 掉绑状态 1在绑 2掉绑 3未检测
     */
    private String monitoringState;

    /**
     * 游戏类型：0手游 1端游
     */
    @ToString.Include
    private String gameType;

    /**
     * 操作系统id
     */
    @ToString.Include
    private Long systemId;

    /**
     * 操作系统名称 如	ios  安卓
     */
    @ToString.Include
    @Excel(name = "系统名称", sort = 3)
    private String systemName;

    /**
     * 运营商id
     */
    @ToString.Include
    private Long carrierId;

    /**
     * 例如QQ,微信等等
     */
    @ToString.Include
    @Excel(name = "运营商名称", sort = 4)
    private String carrierName;

    /**
     * 服id
     */
    @ToString.Include
    private Long groupId;

    /**
     * 服名称
     */
    @ToString.Include
    @Excel(name = "区名称", sort = 5)
    private String groupName;

    /**
     * 区id
     */
    @ToString.Include
    private Long serverId;

    /**
     * 区名称
     */
    @ToString.Include
    @Excel(name = "服名称", sort = 6)
    private String serverName;

    /**
     * 商品标题
     */
    @ToString.Include
    private String title;

    /**
     * 商品价格
     */
    @ToString.Include
    @Excel(name = "售价", sort = 11, isStatistics = true, cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal price;
    private BigDecimal newPrice;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述", sort = 7)
    private String des;
    private Date toptime;

    /**
     * 供货人
     */
    @ToString.Include
    private Long supplyId;

    /**
     * 销售状态  0、待审核 1、未出售 2、出售中 3、已售 4、已下架 5、问题账号 6、找回账号
     */
    private Integer saleState;

    /**
     * 删除标志 0、未删除  1、已删除
     */
    private Long del;

    /**
     * 1、自营商品 2、代售商品
     */
    private Integer accountType;

    /**
     * 1、显示 2、不显示
     */
    private String isshow;

    /**
     * 标题图片
     */
    @ToString.Include
    private String titleImg;

    /**
     * 问题备注
     */
    @ToString.Include
    private String problemDes;

    /**
     * 下架备注
     */
    @ToString.Include
    private String downDes;

    /**
     * 找回处理类型 1、找回已赔付 2、找回已退号 3、找回未退款
     */
    private Integer retrieveHandleType;

    /**
     * 找回处理截图
     */
    private String retrieveHandleImages;

    /**
     * 找回备注
     */
    @ToString.Include
    private String retrieveDes;


    /**
     * 三方id 用于判断接口是否重复传递
     */
    @ToString.Include
    private String thirdId;

    /**
     * 账号
     */
    @ToString.Include
    @Excel(name = "账号", sort = 8)
    private String accountNumber;

    /**
     * 密码
     */
    @ToString.Include
    @Excel(name = "密码", sort = 9)
    private String accountPassword;

    /**
     * 密保手机
     */
    @ToString.Include
    @Excel(name = "手机号", sort = 10)
    private String securityPhone;

    /**
     * 交易猫ID
     */
    private String jymtask;

    private String allField;


    //1  自首  2、代售
    private Integer ifself;

    /**
     * 成本价
     */
    @Excel(name = "成本价", sort = 12, isStatistics = true, cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal costPrice;

    /**
     * 重要信息备注
     */
    @ToString.Include
    @Excel(name = "重要信息", sort = 14)
    private String importantRemark;

    /**
     * 回收人id
     */
    private Long recyclerId;

    /**
     * 回收人姓名
     */
    @Excel(name = "回收人", sort = 13)
    private String recyclerName;

    /**
     * 密保信息
     */
    private String securityInfo;

    /**
     * 换绑信息
     */
    @Excel(name = "换绑信息", sort = 14)
    private String changeBindInfo;

    /**
     * 回收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String recycleTime;
    /**
     * 问题时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date problemtime;

    /**
     * 问题类型id
     */
    private Long problemTypeId;

    /**
     * 问题类型名称
     */
    private String problemTypeName;

    /**
     * 转问题号用户id
     */
    private Long problemUserId;
    /**
     * 转问题号用户姓名
     */
    private String problemUserName;
    /**
     * 转找回号用户id
     */
    private Long retrieveUserId;
    /**
     * 转找回号用户姓名
     */
    private String retrieveUserName;

    /**
     * 销售渠道
     */
    private String saleChannel;
    /**
     * 出售渠道
     */
    private String supplyChannel;
    /**
     * 删除人用户id
     */
    private Long delUserId;
    /**
     * 删除人用户姓名
     */
    private String delUserName;

    private String selltype;
    private String note;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date saletime;
    private String saletimeStart;
    private String saletimeEnd;
    private Long saleid;
    private Long telid;
    private List<Long> telIds;
    private String telnote;

    private String salaName;
    private String supplyName;
    private String createTimeStart;
    private String createTimeEnd;

    private Integer browseNum; //浏览次数
    private String icon;  //游戏图标

    /**
     * 提号人
     * @param args
     */
    private Long submituserid;
    private String submituserName;
    /**
     * 下单时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date submittime;
    /**
     * 运营商类型  1qq 2 wx，3米哈游，4网易，10其他系列;
     */
    private String carrierType;
    /**
     * 下单备注
     * @param args
     */
    private String salenote;
    /**
     * 使用状态
     */
    private  String useStatus;

    //--------------------------
    //  卡位换绑
    //--------------------------
    /**
     * 换绑状态  0  默认未换绑  1 已换绑
     */
    private Integer isBindStatus;

    /**
     * 换绑状态  字典配置
     */
    private String bindStatus;


    /**
     * 买家换绑手机号
     */
    private String buyerPhone;

    /**
     * 买家换绑截图
     */
    private String buyerImg;
    public static void main(String[] args) {
        GoodsInfo goodsInfo = new GoodsInfo();
        System.out.println("data:" + goodsInfo.toString());
    }
}
